<?php
	/**
	* Object representing table User
	*
	* @Author  Dragan Milchevski
	* @Date 2012-06-21
	**/
	class User{
		protected $_id;
		protected $_username;
		protected $_password;
		protected $_permissions;
		
		public function __construct(){
			$this->_id = 0;
			$this->_username = "";	
			$this->_password = "";
			$this->_permissions = "";
		}
		
		/**
		 * @return the $_id
		 */
		public function getId() {
			return $this->_id;
		}

		/**
		 * @return the $_username
		 */
		public function getUsername() {
			return $this->_username;
		}

		/**
		 * @return the $_password
		 */
		public function getPassword() {
			return $this->_password;
		}

		/**
		 * @return the $_permissions
		 */
		public function getPermissions() {
			return $this->_permissions;
		}

		/**
		 * @param field_type $_id
		 */
		public function setId($_id) {
			$this->_id = $_id;
		}

		/**
		 * @param field_type $_username
		 */
		public function setUsername($_username) {
			$this->_username = $_username;
		}

		/**
		 * @param field_type $_password
		 */
		public function setPassword($_password) {
			$this->_password = $_password;
		}

		/**
		 * @param field_type $_permissions
		 */
		public function setPermissions($_permissions) {
			$this->_permissions = $_permissions;
		}

	}

?>